package model.literaturplugin;

import java.io.Serializable;

import javax.persistence.Entity;

import model.PersistentEntity;


@Entity
public class Book extends PersistentEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -768756123035517989L;
	private String author;
	private int year;
	private String title;
	private String comment;
	private int edition;
	private String town;
	
	

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getEdition() {
		return edition;
	}

	public void setEdition(int edition) {
		this.edition = edition;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public Book() { super();
	};

}
